package com.groupbuying.settleproducer.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.groupbuying.settleproducer.dao.SettleUshopRefundDao;
import com.groupbuying.settleproducer.domain.SettleUshopRefundDO;
import com.groupbuying.settleproducer.service.SettleUshopRefundService;



@Service
public class SettleUshopRefundServiceImpl implements SettleUshopRefundService {
	@Autowired
	private SettleUshopRefundDao settleUshopRefundDao;
	
	@Override
	public SettleUshopRefundDO get(String id){
		return settleUshopRefundDao.get(id);
	}

	@Override
	public SettleUshopRefundDO getByOrderId(String orderId){
		return settleUshopRefundDao.getByOrderId(orderId);
	}
	
	@Override
	public List<SettleUshopRefundDO> list(Map<String, Object> map){
		return settleUshopRefundDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return settleUshopRefundDao.count(map);
	}
	
	@Override
	public int save(SettleUshopRefundDO settleUshopRefund){
		return settleUshopRefundDao.save(settleUshopRefund);
	}
	
	@Override
	public int update(SettleUshopRefundDO settleUshopRefund){
		return settleUshopRefundDao.update(settleUshopRefund);
	}
	
	@Override
	public int remove(String id){
		return settleUshopRefundDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return settleUshopRefundDao.batchRemove(ids);
	}
	
}
